<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<!-- <script src="./jquery.min.js"></script> -->
	<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
	<script>
		
		window.onload = function () {
			// p = document.getElementsByTagName('p');

			// for (var i = 0; i <=p.length; i++) {
			// 	p[i].style.color= 'red';
			// }

			
		}


		$(function () {
			






			
		})



		$(function () {


			$('p').css('color', 'red');


		})
	</script>
</head>
<body>
	<p>学并思</p>
	<p>学并思</p>
	<p>学并思</p>
	<p>学并思</p>
</body>
</html>